'use strict';

function collect_last_element(collection) {
  return (collection.pop());

}

module.exports = collect_last_element;
